package com.atguigu.rabbitmq.utils;
/*
* 线程休眠，线程等待
* */
public class SleepUtils {

    public static void sleep(int second){
        try {
            Thread.sleep(1000*second);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }

}